#!/bin/sh

##killpid=`ps aux | grep start.sh | grep -v grep  | awk '{print $2}'`
killpid=`ps aux | grep manage.py | grep -v grep  | awk '{print $2}'`
echo "prepare kill pid:$killpid"

[ ! -z "$killpid" ] &&  kill -9 $killpid
##[ ! -z $killpid -gt 0 ] &&  kill -9 $killpid

nohup python3 manage.py runserver 0.0.0.0:8000 &
